import request from '@/utils/request'

const api = {
  drop_out: 'web/children/drop_out', // 退学
  graduate: 'web/children/graduate', // 毕业
  list: 'web/children/page' // 列表
}

export function getList (params = {}) {
  return request({
    url: api.list,
    method: 'post',
    params
  })
}

export function dropOut (params = {}) {
  return request({
    url: api.drop_out,
    method: 'post',
    params
  })
}

export function graduate (params = {}) {
  return request({
    url: api.graduate,
    method: 'post',
    params
  })
}
